home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1996 September
/
JCSM Shareware Collection (JCS Distribution) (September 1996).ISO
/
prdctvty
/
11420k01.ziv
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1993-01-14
|
3KB
|
107 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C". Make absolutely sure that you have desig-
echo nated your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cls
cd\MANAGEX
echo Copying files...
if exist upgrd.exe erase upgrd.exe
copy %1ramd.exe
cls
if exist %1upgrd.exe copy %1upgrd.exe
:SKIPMISC
if exist moe.exe erase moe.exe
if exist b-beep.exe erase b-beep.exe
if exist pc-beep.exe erase pc-beep.exe
if exist rmd.exe erase rmd.exe
if exist ramdesk.exe erase ramdesk.exe
if exist ramdesk.ovr erase ramdesk.ovr
if exist input.exe erase input.exe
if exist output.bat erase output.bat
if exist ramdesk.hlp erase ramdesk.hlp
if exist delsched.exe erase delsched.exe
if exist upgrade.exe erase upgrade.exe
if exist upgrd.com erase upgrd.com
if exist ramdesk.doc erase ramdesk.doc
if exist readme.doc erase readme.doc
rem if not exist pc-sched.lbf goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy. If you were to answer "YES", some of
echo your customizations might be overwritten with plain "vanilla" data.
echo .
echo THEREFORE, ALWAYS ANSWER "NO" (BY PRESSSING THE "N" KEY).
echo .
echo .
echo .
pause
:EXTRACT
ramd
erase ramd.exe
upgrade %2
erase upgr*.*
cls
if exist pc-direc.lbf goto SKIPPRINT
echo The instructions must be printed.
echo .
echo .
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 50 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type RAMDESK.DOC >prn
:SKIPPRINT
cls
echo .
echo RAMdesk is now installed on your hard disk in the MANAGEX directory.
echo To access the program, do the following:
echo .
echo 1) enter "%2" at the prompt (this logs you onto drive %2);
echo 2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
echo 3) enter "RMD" at the prompt.
echo .
echo .
pause
echo off
cls
if not exist pc-direc.lbf goto END
echo .
echo IF YOU'RE A REGISTERED USER...
echo .
echo The upgrade you have just gone through has resulted in a personalized
echo copy of RAMdesk.
echo .
echo Feel free to distribute copies of the RAMdesk disk, but DON'T tell
echo anyone your serial number; a user must register to receive one of his own.
echo .
echo Thanks.
echo .
echo .
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: B:INSTRD B: C: will install RAMdesk from drive B to drive C
echo .
echo PLEASE TRY AGAIN
:END